package week4;

public class Address {
    private String streetAddress, city, state;
    private long zipCode;

    //-----------------------------------------------------------
    // Constructor: Sets up this address with the specified date.
    //-----------------------------------------------------------
    public Address(String street, String town, String st , long zip){
        streetAddress = street;
        city = town;
        state = st;
        zipCode = zip;
    }

    //-----------------------------------------------------------
    // Return a description of this Address object.
    //-----------------------------------------------------------

    @Override
    public String toString() {
        String result;

        result = streetAddress + "\n";
        result += city + "," + state + " " + zipCode;
        return  result;
    }
}
